#!/bin/bash
zkServer.sh start
if [[ $? -eq 0 ]];then
  echo "$(date +"%Y-%m-%d %H:%M:%S") zookeeper start success"
else
  echo "$(date +"%Y-%m-%d %H:%M:%S") zookeeper start error"  
fi